package ua.kharkov.knure.dereza.summarytask4.db.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Data transfer object for card that we receive from DB.
 * 
 * @author dereza
 *
 */
public class CardDTO implements Serializable{

	private static final long serialVersionUID = 1805593820865502815L;

	private int id;

	private String code;

	private String name;

	private BigDecimal balance;

	private int currency_id;

	private int status_id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public int getCurrency_id() {
		return currency_id;
	}

	public void setCurrency_id(int currency_id) {
		this.currency_id = currency_id;
	}

	public int getStatus_id() {
		return status_id;
	}

	public void setStatus_id(int status_id) {
		this.status_id = status_id;
	}

	@Override
	public String toString() {
		return "СardDTO [id=" + id + ", code=" + code + ", name=" + name
				+ ", balance=" + balance + ", currency_id=" + currency_id
				+ ", status_id=" + status_id + "]";
	}
}